home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOpus Plus
/
DOpus Plus.iso
/
Tutorial
/
ARexx Tutorial
/
TuteRexx
/
Delete.dopus5
< prev
next >
Wrap
Text File
|
1998-09-14
|
552b
|
19 lines
/*
$VER: Delete.dopus5 1.0 (8.9.98)
When you hit Delete, will copy of selected entries to the Trashcan before
deleting them.
*/
options results
parse arg port func srce dest args .
address value port
if func = 'init' then do
dopus command "DeleteTC" program "Delete" desc "'Move selected to Trashcan'"
dopus command "EmptyTC" program "Delete" desc "'Empty the trash'"
exit
end
if func = 'DeleteTC' then command source srce original move 'TO SYS:Trashcan'
if func = 'EmptyTC' then address command 'Delete SYS:Trashcan/#? QUIET FORCE ALL'
exit